package com.example.day02.mapper;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

public interface AccountMapper {


    @Update("update spring_account set balance=balance-#{monney} where username=#{username}")
    int update(@Param("username") String username,@Param("monney") double monney);
}
